<include file="Public:header" />
<css href="__PUBLIC__/css/admin_style.css" />
<script type="text/javascript">
				    var editor; 
			KindEditor.ready(function(K) {
        editor = K.create("textarea[id='content']", {
					langType:lg(),items:
					[
        'source',  '|', 'preview', 'print', 'template', 'code', 'cut', 'copy', 'paste',
         '|', 'justifyleft', 'justifycenter', 'justifyright',
        'justifyfull', 'insertorderedlist', 'insertunorderedlist', 'indent', 'outdent', 'subscript',
        'superscript', 'clearhtml', 'quickformat', 'selectall', '|', 'fullscreen', '/',
        'formatblock', 'fontname', 'fontsize', '|', 'forecolor', 'hilitecolor', 'bold',
        'italic', 'underline', 'strikethrough', '|', 'image',
         'table', 'hr', 'emoticons', 'baidumap', 'pagebreak',
        'anchor', 'link', 'unlink', '|', 'about'
],allowImageUpload : false
				});
				
			});
	$(document).ready(function(){
	
	});
</script>
	
</head>
<form id="myform" name="myform" action="{:U('Blog_add')}" enctype="multipart/form-data" method="post">

          <table width="99%" cellpadding="4" border='0' class="table">
          <tr class="table_head" >
          <th colspan="2" style="text-align:left;">发布博客</th>
          
          </tr>
            <tr class="table_li">
              <td width="200">博客标题 :</td>
              <td><input type="text" name="from[blog_name]"  size="120" value=""></td>
            </tr>
            <tr class="table_li">
              <td width="200">分类 :</td>
              <td><select><option value=''>选择</option></select></td>
            </tr>
            <tr class="table_li">
              <td width="200">内容:</td>
              <td><textarea  name="from[blog_content]" id='content' style="width:800px;height:400px;"></textarea></td>
            </tr>
            <tr class="table_li">
              <td width="200">博客图片 :</td>
              <td><input type="file" name="from[blog_images]" value='上传'><a href="">站外上传</a></td>
            </tr>
            <tr class="table_li">
              <td width="200">标签:</td>
              <td><input type="text" name="from[blog_tags]"  size="80" value=""> <a href=#>选择</a></td>
            </tr>
             <tr class="table_li">
              <td width="200">文章关键字 :</td>
              <td><input type="text" name="from[blog_kw]"  size="80"  value=""></td>
            </tr>
            <tr class="table_li">
              <td width="200">文章描述:</td>
              <td><textarea rows="4" cols="90" name="from[blog_description]"></textarea></td>
            </tr>

            <tr class="table_li">
              <td width="200">定时发布(小时) :</td>
              <td><input type="text" name="from[blog_date]"  size="40"  value=""></td>
            </tr>
            <tr class="table_li">
              <td width="200">文章选项 :</td>
              <td>浏览次数:<input type="text" name="from[blog_hits]"  size="10"  value="">
			  	作者:<select name="from[blog_author]"><option value="admin">admin</option></select>
				发布日期:<input type="text" name="from[blog_senddate]" check='date'  size="40"  value="">
				文章来源:<input type="text" name="from[blog_from]"  size="20"  value=""><a href="#">选择来源</a>
			  </td>
            </tr>
            <tr class="table_li">
              <td width="200">评论选项 :</td>
              <td>
			  	<label from='blog_remark'><input id="blog_remark" type="radio" name="from[blog_remark]"   value="1" checked class='radio' />允许</label>
                  <label from='blog_remark1'><input id="blog_remark1" type="radio" name="from[blog_remark]"   value="0" class='radio' />禁止</label>
				
			  </td>
            </tr>
            <tr class="table_li">
              <td width="200">插入广告 : </td>
              <td>广告代码:<textarea rows="4" cols="90" name="from[blog_ad]"></textarea><a href="">选择广告</a></td>
            </tr>
        </table>
 

      <div style='float:left;margin-left:30px;'>
	  <input  type="hidden" name="id"/>
	  <input type="submit" value="发布博客" name="submit" class="btn" id="submit" /></div>

</form>
</body>
</html>